package com.zygh.policeasset.service;

import com.zygh.policeasset.component.CommonResult;
import com.zygh.policeasset.mapper.DailyMaintenanceBigClassificationMapper;
import com.zygh.policeasset.mapper.DailyMaintenanceSmallClassificationMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DailyMaintenanceBigClassificationService {
    @Autowired
    DailyMaintenanceBigClassificationMapper dailyMaintenanceBigClassificationMapper;

    public CommonResult findAll(String name,String type) {
        return new CommonResult().success(dailyMaintenanceBigClassificationMapper.findAll(name,type));
    }
}